home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d14 / burst.arc / README.CHG < prev    next >
Text File  |  1990-09-07  |  3KB  |  41 lines

  1. The programs in this set are the kind that have always fascinated me.
  2. I enjoy little programs that are made to irritate people, but that do
  3. no harm to peoples systems.  I've written a few myself, and had a few
  4. people sneak some onto my machine as well, so I guess it evens out.  I
  5. particularly like Michael's style in setting them up so that they aren't
  6. too much of a nuisance.  After all, they're fine for a little while, and
  7. then they get really irritating if they stick around.  Gopher.exe and
  8. Blast.exe are other good examples of this kind of program, but they
  9. don't have the nice feature of letting the victim decide when enough is
  10. enough short of restarting Windows from scratch.  These programs are
  11. nice about that.
  12.   There was only one flaw in the programs as far as I was concerned though:
  13. Windows never really has enough memory in the first place, (does any program?)
  14. and these programs, as they were, kept grabbing more and more memory to
  15. load the bitmaps.  Then, although an admirable attempt at removing the
  16. program was made, the excess bitmaps weren't removed with the program.
  17. This isn't Michael's fault.  The blame belongs purely to Windows.  It
  18. seems that unlike ICONS and MENUS etc, bitmaps and cursors belong to the
  19. GDI, and not the program.  So unless you store every handle for every
  20. bitmap loaded, you can't get rid of them when you exit the program, and
  21. the GDI keeps them around.  The original version of Face.exe would
  22. load the bitmap each time it was put on the display, creating another
  23. GDI resource.  When the program ended (after about 100 popups), it
  24. would remove the last bitmap created.  Unfortunately, that still left
  25. 99 copies of it in memory.
  26.   I cleaned up this problem, and hopefully the changes I made will help
  27. other people to use Windows memory a little more efficiently.  I first
  28. learned about this problem when someone put a copy of blast on my
  29. machine.  I thought it was cute, so I let it run.  Until I closed all of
  30. the applications I had running, and left the computer to go to lunch.
  31. When I got back, I couldn't even run NotePad, and the disk was going
  32. crazy discarding memory blocks and loading in new ones every time I
  33. changed directories in the MS-DOS executive.  Finally I found out what
  34. caused the problem, and what to do about it.
  35.   Anyway, here are the "fixed" versions of the programs.  I hope you
  36. like them as much as I did, Michael really did a nice job.  I also hope
  37. you can use the modifications I made to save some of that precious and
  38. too too expensive resource - memory - ($13 for a chip?)
  39. Perri Nelson
  40. [71401,2116]
  41.